home *** CD-ROM | disk | FTP | other *** search
/ Walnut Creek Sampler 1995 January / Walnut_Creek_Sampler_44_CDROMs_to_Try_Walnut_Creek_January_1995.iso / mac / MacUtils / ZIP Utils / macgzip_021 / macgzip FAQ < prev    next >
Text File  |  1994-03-19  |  5KB  |  124 lines

  1. • I don't like the interface / I'd like batch processing
  2.  
  3. If you don't want to use the menus to change mode and process, use the Drag & Drop mode:
  4.  
  5. 1: Quit MacGzip (if it is open)
  6.  
  7. 2: If the files you want to compress/uncompress are in the same folder, select 
  8. them all from the Finder and Drag & Drop them on MacGzip icon; if the files are 
  9. in different folders; you will have to put the parent folder in 'list by name' 
  10. mode before the selection.
  11.  
  12. 3: If you want
  13.  
  14.     a) Compress them: Hold option key until window appears
  15.     b) Uncompress them in ASCII mode: Hold 'a' key until window appears
  16.     c) Uncompress them in binary mode: Hold 'b' key until window appears
  17.     d) Uncompress them in default (last selected in gzip menu) mode: nothing
  18.  
  19. • How can I abort a compress/uncompress process?
  20.  
  21. Cmd-period (as in almost every mac application) ¿Did you read the 'Readme' file?
  22.  
  23. • What should I put in the 'gzip suffix' preference?
  24.  
  25. For all operating systems, ".gz", ".z", ".Z", ".taz", ".tgz", "-gz", "-z" and "_z" are accepted suffixes, in addition to the value of the --suffix option. (".tgz" is a useful convention for tar.z)
  26.  
  27. The --suffix option is the value you enter in 'gzip suffix' preference; so you should let it empty if you are using the standard gzip 1.2.4.
  28.  
  29. If your UNIX host has an older gzip (which creates compressed files with .z) you should put '.z' in this field of macgzip preferences; but the best option would be to update your UNIX gzip to the last version (currently -03/19/94- is 1.2.4).
  30.  
  31. • What is the meaning of 'ASCII' in 'gzip' menu?
  32.  
  33.      -a --ascii
  34.           Ascii text mode: convert end-of-lines using local  con-
  35.           ventions.  This  option  is supported only on some non-
  36.           Unix systems.
  37.  
  38. let's have the ASCII file 'pc.txt' on an DOS machine
  39.  
  40. we can make:
  41.   gzip -c pc.txt > pc.gz
  42.   gzip -ca pc.txt > pca.gz
  43.  
  44. then, we put this files in our mac and:
  45.   gzip 'uncompress' 'binary' of pc.gz gives us a file with EOL=<CR><LF> (bad)
  46.   gzip 'uncompress' 'binary' of pca.gz gives us a file with EOL=<LF> (bad)
  47.   gzip 'uncompress' 'ascii' of pc.gz gives us a file with EOL=<CR><CR> (bad)
  48.   gzip 'uncompress' 'ascii' of pca.gz gives us a file with EOL=<CR> (good!)
  49.  
  50.  
  51. I'm afraid that this is not fully supported in MacGzip. When uncompressing, it does the UNIX 0x0a (LF) to Mac 0x0d (CR) end-of-line conversion; but when compressing it does not change CR to LF. 
  52.  
  53. THIS IS A BUG in MacGzip 0.2.1 and earlier!!!!! (I hope this will be fixed soon)
  54.  
  55. If you want to gzip an ASCII file and put it on an UNIX system you can:
  56.  
  57. 1: gzip your text file (mode does not mind). This give us a 'foo.txt.gz'
  58. 2: transfer it to the Unix box (in binary mode!)
  59. 3: execute the following Unix command:
  60.  
  61.      gzip -dc foo.txt.gz | tr "\015" "\012" > foo.txt
  62.  
  63. • My Mac-dhqx-application does not recognice gunziped files.
  64.  
  65. A file with .hqx suffix IS A TEXT FILE; so it should be uncompressed in ASCII mode. This not only will put 'Macintosh end-of-lines' (which shouldn't make any difference to your debinhexer), but also will set the type of the resulting file to 'TEXT'.
  66.  
  67. Anyway; if you have gunziped your foo.hqx in binary mode; you can use 'StuffIt Expander', since (in Drag&Drop mode) it eats any kind of file.
  68.  
  69. • What is the meaning of 'binary' in 'gzip' menu?
  70.  
  71. Binary means that you get a file which is exactly the same file (byte by byte) which was compressed; you should use this option for any non-text file.
  72.  
  73. If you uncompress a binary file (like a file.tar.gz or a file.tif.gz) in ASCII mode; you will loose the file.
  74.  
  75. If you uncompress a text file (like a file.hqx.gz or a text.gz) in binary mode; you can recover the file in several ways.
  76.  
  77. • MacGzip reports a CRC error!
  78.  
  79. This error appears when the file is corrupted or, most frequently, when the file has been incorrectly transferred
  80.  
  81. Gziped files ARE PURE BINARIES. (raw data, binary, not MacBinary nor ASCII)
  82. When you download a gif file; you set your communications software in binary mode; do the same with gziped files.
  83.  
  84. Here you are a few hints:
  85.  
  86. 1: Fetch
  87.  
  88.     Add the following entries to 'suffix mapping' preferences:
  89.  
  90.        suffix   type    creator    name        transfer  as...
  91.  
  92.         .gz     Gzip     Gzip     gziped           binary
  93.         .tgz    Gzip     Gzip     tar.gz           binary
  94.         .Z      ZIVU     Gzip     compressed       binary
  95.         .z      pZIP     Gzip     pkziped          binary
  96.  
  97. 2: Zterm (I'm not a Zterm user, so I'm not sure about this point)
  98.  
  99. Add strings (using ResEdit or similar) to resources 'STR# 335' and 'STR# 330'
  100.  
  101. Example:
  102.     For gzip files:    1GzipGzip.gz
  103.  
  104. (Read ZTerm documentation for more information)
  105.  
  106.  
  107. 3: Anarchie & Peter Lewis' ftpd
  108.  
  109. They use Fetch Preferences, so get Fetch, and go to point 1
  110.  
  111. • Do you have a s-mail address?
  112.  
  113.     Jose Antonio Gutierrez Elipe
  114.     Francisco Jose Seron Arbeloa
  115.  
  116.     Centro Politecnico Superior Ingenieria Industrial
  117.                Universidad de Zaragoza
  118.  
  119.     (Dpto. Lenguajes y Sistemas Informaticos)
  120.  
  121.     Maria de Luna, 3            50015 ZARAGOZA, SPAIN
  122.  
  123.  
  124.